import request from '@/utils/request'
import { apiVersion } from '@/config'

export function getAllOperateLog(data) {
  return request({
    url: `/admin/${apiVersion}/operateLog`,
    method: 'get',
    data
  })
}

export function getnoeOperateLog(data) {
  return request({
    url: `/admin/${apiVersion}/operateLog/${data.id}`,
    method: 'get',
  })
}
